﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ETLContactBook.Entities;
using ETLContactBook.Utils;

namespace ETLContactBook.Services.REST
{

    public class ServicePerson : IServicePerson
    {
        public List<Person> ListContact=new List<Person>();
        public List<Person> GetList()
        {
            ListContact = SerializationUtils.DeserializeFromFile<List<Person>>(@"C:\Users\Edouard\Documents\Visual Studio 2010\Projects\ETLContactBook\repertoire.xml");
            return ListContact;
        }
    }
}